package com.passioneffect.parser {
	import com.passioneffect.parser.IXMLParser;
	
	/**
	 * @author Passion Effect
	 */
	public class ValuePairParser implements IXMLParser {
		public function parse(xml : XML) : Array {
			var arr : Array = [];
			var list : XMLList = xml.children();
			var item : XML;
			
			for each(item in list) {
				arr[String(item.name())]=item;
			}
			
			return arr;
		}
	}
}
